<template>
  <div class="mx-auto w-1/3">
    <a-typography-title :level="5" class="line-clamp-1 text-center !text-[#CE101F] pt-3">品牌优选排行榜</a-typography-title>
    <a-flex justify="center" gap="middle" wrap="wrap">
      <a-row :gutter="20">
        <a-col :span="12">
          <a-flex vertical v-for="(item, index) in list" :key="index" class="my-2">
            <a-typography-text :level="5" class="py-1 !rounded-lg text-center bg-[#3D3D3D] !text-[#fff]">{{
              item.title
            }}</a-typography-text>

            <a-row :gutter="10" class="my-2 px-2">
              <a-col :span="8" class="text-center">
                <a-typography-link href="#">
                  <a-image width="100%" :src="item.img1" :preview="false" />
                </a-typography-link>
              </a-col>
              <a-col :span="8" class="text-center">
                <a-typography-link href="#">
                  <a-image width="100%" :src="item.img2" :preview="false" />
                </a-typography-link>
              </a-col>
              <a-col :span="8" class="text-center">
                <a-typography-link href="#">
                  <a-image width="100%" :src="item.img3" :preview="false" />
                </a-typography-link>
              </a-col>
            </a-row>

            <a-typography-text class="px-2">
              <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc1 }}</a-typography-text>
              <a-typography-link href="#">
                <a-typography-text class="text-[#D71252] text-[12px] border-0 border-b border-dashed border-red-500">{{
                  item.desc2
                }}</a-typography-text>
              </a-typography-link>
              <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc3 }}</a-typography-text>
              <a-typography-link href="#" v-for="(it, ind) in item.desc4" :key="ind">
                <a-typography-text class="text-[#D71252] text-[12px] border-0 border-b border-dashed border-red-500">{{
                  it
                }}</a-typography-text>
                <a-typography-text>{{ ind === item.desc4.length - 1 ? '...' : '，' }}</a-typography-text>
              </a-typography-link>
              <a-typography-link href="#">
                <a-typography-text class="text-[12px] text-[#848484]"> 详情>></a-typography-text>
              </a-typography-link>
            </a-typography-text>
          </a-flex>
        </a-col>
        <a-col :span="12">
          <a-flex vertical v-for="(item, index) in list2" :key="index" class="my-2">
            <a-typography-text :level="5" class="py-1 !rounded-lg text-center bg-[#3D3D3D] !text-[#fff]">{{
              item.title
            }}</a-typography-text>

            <a-row :gutter="10" class="my-2 px-2">
              <a-col :span="8" class="text-center">
                <a-typography-link href="#">
                  <a-image width="100%" :src="item.img1" :preview="false" />
                </a-typography-link>
              </a-col>
              <a-col :span="8" class="text-center">
                <a-typography-link href="#">
                  <a-image width="100%" :src="item.img2" :preview="false" />
                </a-typography-link>
              </a-col>
              <a-col :span="8" class="text-center">
                <a-typography-link href="#">
                  <a-image width="100%" :src="item.img3" :preview="false" />
                </a-typography-link>
              </a-col>
            </a-row>

            <a-typography-text class="px-2">
              <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc1 }}</a-typography-text>
              <a-typography-link href="#">
                <a-typography-text class="text-[#D71252] text-[12px] border-0 border-b border-dashed border-red-500">{{
                  item.desc2
                }}</a-typography-text>
              </a-typography-link>
              <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc3 }}</a-typography-text>
              <a-typography-link href="#" v-for="(it, ind) in item.desc4" :key="ind">
                <a-typography-text class="text-[#D71252] text-[12px] border-0 border-b border-dashed border-red-500">{{
                  it
                }}</a-typography-text>
                <a-typography-text>{{ ind === item.desc4.length - 1 ? '...' : '，' }}</a-typography-text>
              </a-typography-link>
              <a-typography-link href="#">
                <a-typography-text class="text-[12px] text-[#848484]"> 详情>></a-typography-text>
              </a-typography-link>
            </a-typography-text>
          </a-flex>
        </a-col>
      </a-row>

      <a-typography-title :level="5" class="line-clamp-1 text-center !text-[#CE101F]">之最-排行榜的第一</a-typography-title>

      <a-row :gutter="20">
        <a-col :span="12">
          <a-flex vertical v-for="(item, index) in list3" :key="index">
            <a-typography-text :level="5" class="py-1 !rounded-lg text-center bg-[#3D3D3D] !text-[#fff]">{{
              item.title
            }}</a-typography-text>

            <a-typography-paragraph class="px-2 pt-2">
              <a-typography-link href="#" class="float-left pt-2 pr-1">
                <a-image width="100%" :src="item.img1" :preview="false" />
              </a-typography-link>

              <a-typography-text>
                <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc1 }}</a-typography-text>
                <a-typography-link href="#">
                  <a-typography-text class="text-[#D71252] text-[12px] border-0 border-b border-dashed border-red-500">{{
                    item.desc2
                  }}</a-typography-text>
                </a-typography-link>
                <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc3 }}</a-typography-text>
                <a-typography-link href="#">
                  <a-typography-text class="text-[12px] text-[#848484]"> 详情>></a-typography-text>
                </a-typography-link>
              </a-typography-text>
            </a-typography-paragraph>
          </a-flex>
        </a-col>
        <a-col :span="12">
          <a-flex vertical v-for="(item, index) in list4" :key="index">
            <a-typography-text :level="5" class="py-1 !rounded-lg text-center bg-[#3D3D3D] !text-[#fff]">{{
              item.title
            }}</a-typography-text>

            <a-typography-paragraph class="px-2 pt-2">
              <a-typography-link href="#" class="float-left pt-2 pr-1">
                <a-image width="100%" :src="item.img1" :preview="false" />
              </a-typography-link>

              <a-typography-text>
                <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc1 }}</a-typography-text>
                <a-typography-link href="#">
                  <a-typography-text class="text-[#D71252] text-[12px] border-0 border-b border-dashed border-red-500">{{
                    item.desc2
                  }}</a-typography-text>
                </a-typography-link>
                <a-typography-text class="text-[12px] text-[#848484]">{{ item.desc3 }}</a-typography-text>
                <a-typography-link href="#">
                  <a-typography-text class="text-[12px] text-[#848484]"> 详情>></a-typography-text>
                </a-typography-link>
              </a-typography-text>
            </a-typography-paragraph>
          </a-flex>
        </a-col>
      </a-row>
    </a-flex>
  </div>
</template>

<script setup>
const list = [
  {
    title: '糖果牌子TOP',
    img1: 'https://picsum.photos/id/1/100/50',
    img2: 'https://picsum.photos/id/2/100/50',
    img3: 'https://picsum.photos/id/3/100/50',
    desc1: '糖果品牌哪些优秀?987品牌优选从',
    desc2: '278',
    desc3: '个糖果参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['金桂坊食品', '嘉云', '哈瑞宝'],
  },
  {
    title: '枕头牌子TOP',
    img1: 'https://picsum.photos/id/4/100/50',
    img2: 'https://picsum.photos/id/5/100/50',
    img3: 'https://picsum.photos/id/6/100/50',
    desc1: '枕头品牌哪些优秀?987品牌优选从',
    desc2: '737',
    desc3: '个枕头参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['水星家纺', '睡眶博士', '诺伊曼'],
  },
  {
    title: '衬衫牌子TOP',
    img1: 'https://picsum.photos/id/7/100/50',
    img2: 'https://picsum.photos/id/8/100/50',
    img3: 'https://picsum.photos/id/9/100/50',
    desc1: '糖果品牌哪些优秀?987品牌优选从',
    desc2: '278',
    desc3: '个糖果参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['红豆', '海澜之家', '罗蒙'],
  },
  {
    title: '围巾牌子TOP',
    img1: 'https://picsum.photos/id/10/100/50',
    img2: 'https://picsum.photos/id/11/100/50',
    img3: 'https://picsum.photos/id/12/100/50',
    desc1: '围中品牌哪些优秀?987品牌优选从',
    desc2: '247',
    desc3: '个围中参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['CACUSS', '巴利', '博柏利'],
  },
  {
    title: '项链牌子TOP',
    img1: 'https://picsum.photos/id/13/100/50',
    img2: 'https://picsum.photos/id/14/100/50',
    img3: 'https://picsum.photos/id/15/100/50',
    desc1: '围中品牌哪些优秀?987品牌优选从',
    desc2: '875',
    desc3: '个项链参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['周大福', '潮宏基', '周生生'],
  },
  {
    title: '背景墙牌子TOP',
    img1: 'https://picsum.photos/id/16/100/50',
    img2: 'https://picsum.photos/id/17/100/50',
    img3: 'https://picsum.photos/id/18/100/50',
    desc1: '背景墙品牌哪些优秀?987品牌优选从',
    desc2: '318',
    desc3: '个背景墙选的牌子中根据大数据评出的牌子分别是',
    desc4: ['东鹏', '诺贝尔瓷砖', '索菲亚'],
  },
  {
    title: '运动服牌子TOP',
    img1: 'https://picsum.photos/id/19/100/50',
    img2: 'https://picsum.photos/id/20/100/50',
    img3: 'https://picsum.photos/id/21/100/50',
    desc1: '运动服品牌哪些优秀?987品牌优选从',
    desc2: '256',
    desc3: '个运动服参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['安踏', '裴乐', '特步'],
  },
  {
    title: '被子牌子TOP',
    img1: 'https://picsum.photos/id/22/100/50',
    img2: 'https://picsum.photos/id/23/100/50',
    img3: 'https://picsum.photos/id/24/100/50',
    desc1: '被子品牌哪些优秀?987品牌优选从',
    desc2: '266',
    desc3: '个被子参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['水星家纺', '罗莱', '博洋'],
  },
  {
    title: '小西装牌子TOP',
    img1: 'https://picsum.photos/id/25/100/50',
    img2: 'https://picsum.photos/id/26/100/50',
    img3: 'https://picsum.photos/id/27/100/50',
    desc1: '小西装品牌哪些优秀?987品牌优选从',
    desc2: '210',
    desc3: '个小西装乡选的牌子中根据大数据评出的牌子分别是',
    desc4: ['欧时力', '维沙曼', '伊芙丽'],
  },
  {
    title: '手机壳牌子TOP',
    img1: 'https://picsum.photos/id/28/100/50',
    img2: 'https://picsum.photos/id/29/100/50',
    img3: 'https://picsum.photos/id/30/100/50',
    desc1: '手机壳品牌哪些优秀?987品牌优选从',
    desc2: '294',
    desc3: '个手机壳参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['闪魔', '邦克仕', '品胜'],
  },
];
const list2 = [
  {
    title: '短裙牌子TOP',
    img1: 'https://picsum.photos/id/31/100/50',
    img2: 'https://picsum.photos/id/32/100/50',
    img3: 'https://picsum.photos/id/33/100/50',
    desc1: '短裙品牌哪些优秀?987品牌优选从',
    desc2: '357',
    desc3: '个短裙参选的牌子中根据大数据评出的牌子分别是 ',
    desc4: ['ONLY', '拉夏贝尔', '太平鸟'],
  },
  {
    title: '枸杞牌子TOP',
    img1: 'https://picsum.photos/id/34/100/50',
    img2: 'https://picsum.photos/id/35/100/50',
    img3: 'https://picsum.photos/id/36/100/50',
    desc1: '枸杞品牌哪些优秀?987品牌优选从',
    desc2: '504',
    desc3: '个枸杞参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['好想你', '福东海', '富昌'],
  },
  {
    title: '半身裙牌子TOP',
    img1: 'https://picsum.photos/id/37/100/50',
    img2: 'https://picsum.photos/id/38/100/50',
    img3: 'https://picsum.photos/id/39/100/50',
    desc1: '半身裙品牌哪些优秀?987品牌优选从',
    desc2: '875',
    desc3: '个半身裙参选的牌子中根据大数据评出的牌子分别是 ',
    desc4: ['ONLY', '乐町', '维莎曼'],
  },
  {
    title: '装饰画牌子TOP',
    img1: 'https://picsum.photos/id/40/100/50',
    img2: 'https://picsum.photos/id/41/100/50',
    img3: 'https://picsum.photos/id/42/100/50',
    desc1: '装饰画品牌哪些优秀?987品牌优选从',
    desc2: '199',
    desc3: '个装饰画乡选的牌子中根据大数据评出的牌子分别是',
    desc4: ['铜师傅', '好久不见', '瑞尚'],
  },
  {
    title: '衣柜牌子TOP',
    img1: 'https://picsum.photos/id/43/100/50',
    img2: 'https://picsum.photos/id/44/100/50',
    img3: 'https://picsum.photos/id/45/100/50',
    desc1: '衣柜品牌哪些优秀?987品牌优选从',
    desc2: '925',
    desc3: '个衣柜参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['索菲亚', '全友家居', '林氏木业'],
  },
  {
    title: '键盘牌子TOP',
    img1: 'https://picsum.photos/id/46/100/50',
    img2: 'https://picsum.photos/id/47/100/50',
    img3: 'https://picsum.photos/id/48/100/50',
    desc1: '键盘品牌哪些优秀?987品牌优选从',
    desc2: '412',
    desc3: '个键盘参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['罗技', '雷柏', '雷蛇'],
  },
  {
    title: '空调牌子TOP',
    img1: 'https://picsum.photos/id/49/100/50',
    img2: 'https://picsum.photos/id/50/100/50',
    img3: 'https://picsum.photos/id/51/100/50',
    desc1: '空调品牌哪些优秀?987品牌优选从',
    desc2: '507',
    desc3: '个空调参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['海尔', '格力', '海信'],
  },
  {
    title: '休闲裤牌子TOP',
    img1: 'https://picsum.photos/id/52/100/50',
    img2: 'https://picsum.photos/id/53/100/50',
    img3: 'https://picsum.photos/id/54/100/50',
    desc1: '休闲裤品牌哪些优秀?987品牌优选从',
    desc2: '350',
    desc3: '个休闲裤参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['安踏', '斐乐', '美特斯邦威'],
  },
  {
    title: '背包牌子TOP',
    img1: 'https://picsum.photos/id/55/100/50',
    img2: 'https://picsum.photos/id/56/100/50',
    img3: 'https://picsum.photos/id/57/100/50',
    desc1: '背包品牌哪些尤秀?987品牌优选从',
    desc2: '467',
    desc3: '个背包,参选的牌子中根据大数据评出的牌子分别是',
    desc4: ['阿迪达斯', '耐克', '杰斯伯'],
  },
  {
    title: '奶粉牌子TOP',
    img1: 'https://picsum.photos/id/58/100/50',
    img2: 'https://picsum.photos/id/59/100/50',
    img3: 'https://picsum.photos/id/60/100/50',
    desc1: '奶粉品牌哪些优秀?987品牌优选从',
    desc2: '320',
    desc3: '个奶粉参选牌子中根据大数据评出的牌子分别是',
    desc4: ['雀巢', '美赞臣', '惠氏'],
  },
];
const list3 = [
  {
    title: '都市电视剧之最',
    img1: 'https://picsum.photos/id/61/100/50',
    desc1: '网友认为“都是电视剧”第一名得是',
    desc2: '奔跑吧急救医生',
    desc3:
      '都市电视剧排行第名得是奔跑吧急救医生，本月热门指数为，本电视剧由佟大为、任素汐主演，属于都市类型的电视剧。电视剧简介:原三甲医院主治医师张弛因一起意外事件...',
  },
  {
    title: '科幻电视剧之最',
    img1: 'https://picsum.photos/id/62/100/50',
    desc1: '网友认为“客户电视剧”第一名的是',
    desc2: '长相思',
    desc3:
      '科幻电视剧排行第名的是长相本月热门指数为，本电视剧由杨紫、张晚意主演，属于科幻类型的电视剧，电视剧简介:长相思由企鹅彩视、星莲影视出品，方芳监制，李黎明、汤攀...',
  },
];
const list4 = [
  {
    title: '剧情电视剧之最',
    img1: 'https://picsum.photos/id/63/100/50',
    desc1: '网友认为“剧情电视剧”第一名的是',
    desc2: '六姐妹',
    desc3:
      '剧情电视剧排行第一名的是六姐妹，本月人们指数为，本电视剧由梅婷陆毅邬君梅奚美娟刘钧吴倩李晨高露颖儿曹斐然主演，属于剧情类型的电视剧。电视剧简介:本副改编自豆瓣阅读连...',
  },
  {
    title: '恐怖电视剧之最',
    img1: 'https://picsum.photos/id/64/100/50',
    desc1: '网友认为“恐怖电视剧”第一名的是',
    desc2: '生化危机',
    desc3:
      '恐怖电视剧排行第名的是生化危机，本月热门指数为，本电视剧由坎拉巴林斯卡、兰斯莱迪克主演，属于恐怖类型的电视剧。电视剧简介：生化危机是由编剧，布朗修斯执导的真人剧...',
  },
];
</script>
<style></style>
